<!--
  ~ The MIT License (MIT)
  ~
  ~ Copyright (c) 2019 ‭‭‭‭‭‭‭‭‭‭‭‭[smallbun] www.smallbun.org
  ~
  ~ Permission is hereby granted, free of charge, to any person obtaining a copy of
  ~ this software and associated documentation files (the "Software"), to deal in
  ~ the Software without restriction, including without limitation the rights to
  ~ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
  ~ the Software, and to permit persons to whom the Software is furnished to do so,
  ~ subject to the following conditions:
  ~
  ~ The above copyright notice and this permission notice shall be included in all
  ~ copies or substantial portions of the Software.
  ~
  ~ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  ~ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
  ~ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
  ~ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
  ~ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  ~ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  -->

<!DOCTYPE HTML>
<html lang="zh-cn" xmlns:th="http://www.thymeleaf.org">
<head>
    <div th:include="fragments/include :: header('部门管理')"></div>
    <div th:include="fragments/include :: bootstrap-table-css"></div>
</head>

<body class="list-body">
<section class="content">
    <div class="ibox">
        <!--盒子标题-->
        <div class="ibox-title dashboard-header gray-bg">
            <h5>部门管理</h5>
            <div class="pull-right">
                <div class="pull-left">
                    <button type="button" id="expandAllBtn" class="btn btn-sm ibtn-primary"
                            onclick="$.treeTable.expandOrCollapse()">
                        <i class="fa fa-exchange"></i>&nbsp;展开/折叠
                    </button>
                    <!--/*/  <th:block sec:authorize="hasAuthority('manage:org:add')">/*/-->
                    <button type="button" class="btn btn-sm  ibtn-info"
                            onclick="$.operate.add()">
                        <i class="fa fa-plus"></i>&nbsp;添加
                    </button>
                    <!--/*/     </th:block>/*/-->
                    <!--/*/    <th:block sec:authorize="hasAuthority('manage:org:edit')">/*/-->
                    <button type="button" class="btn btn-sm bg-orange"
                            onclick="$.operate.edit()">
                        <i class="fa fa-file-text-o"></i>&nbsp;修改
                    </button>
                    <!--/*/     </th:block>/*/-->
                    <!--/*/      <th:block sec:authorize="hasAuthority('manage:org:del')">/*/-->
                    <button type="button" class="btn btn-sm  bg-maroon"
                            onclick="$.operate.batRemove()"><i
                            class="fa fa-trash-o"></i>&nbsp;删除
                    </button>
                    <!--/*/     </th:block>/*/-->
                </div>
            </div>
        </div>
        <!--盒子内容-->
        <div class="ibox-content-tree-table">
            <table id="table" class="table table-bordered"></table>
        </div>
    </div>
</section>
</body>
<div th:include="fragments/include :: include-js"></div>
<div th:include="fragments/include :: bootstrap-table-js"></div>
<script th:src="@{/static/modules/manage/js/org/org_list.js}"></script>
</html>
